package com.turing.post.salesmanage.util;

import java.math.BigInteger;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 充值单付款信息（DepositOrderPaidDetail）
 * 
 * @author zxp
 * @Jan 17, 2013
 */
@Remote
@Local
public interface DepositOrderPaidDetailBusiness {

	/**
	 * 充值单付款
	 * 
	 * @param dopd
	 * @throws PCPSApplicationException
	 */
	public BigInteger insertDepositOrderPaidDetail(PCPSWebInput webInput,
			DepositOrderPaidDetail dopd) throws PCPSApplicationException;

	/**
	 * 充值单付款撤销
	 * 
	 * @param dopd
	 * @throws PCPSApplicationException
	 */
	public void insertDepositOrderPaidDetailCancel(PCPSWebInput webInput,
			BigInteger depositOrderPaidId) throws PCPSApplicationException;

	/**
	 * 修改凭证图片
	 * @param webInput
	 * @param depositOrderPaidDetail
	 * @throws PCPSApplicationException
	 */
	public void updateDepositOrderPaidDetail(PCPSWebInput webInput,
			DepositOrderPaidDetail depositOrderPaidDetail)
			throws PCPSApplicationException;
}
